package com.newly.common.core.init;

import com.newly.common.core.service.core.api.ICoreService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

/**
 * @program: newly-parent
 * @remark: 启动初始化数据
 * @author: guan
 * @create: 2022-01-09 14:35
 */
@Component
public class InitStart {

    @Autowired
    private ICoreService coreService;

    @PostConstruct
    public void init() {
        coreService.setCacheApis();
    }

}
